package com.commerceerp.system.pay;

/**
 * Created by Administrator on 2018/9/3 0003.
 */
public class AlipayConfig {

    // 1.商户appid
    public static String APPID = "2088002018521582";

    // 2.私钥 pkcs8格式的
    public static String RSA_PRIVATE_KEY ="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8eI0S/JA6RsPp1NawppnwtR4YsfL" +
            "LkSqvywiolF8IRQBkRMIG0bNvekYy7hj8wnhPoOhQQxPCl9GbH5ZNW1n4WSEDHvPCX9AGrWVkX+AObKjBtYqiLAt/bxDgGoxmWzD" +
            "wgrSvmu2prX9tAfQicRjpdWc9gxaf/GXGI5QWVGbvtXbuE2T3HcFs1noVhHG/0BCunnHqLaI0UXXMNNfecS25E1iHU0OTlaHuSUF" +
            "MdcmDzMI8LGoTILHpZ0vQ8MUYDzX2DlrnR3b6+zlyN90U1wSJi2HkiBplV5H7PMzgewuzshUPCZb7zpyIsxFGtfMINS8Q59yzUns" +
            "brmKA7e62D5owwIDAQAB";

    // 3.支付宝公钥
    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8eI0S/JA6RsPp1NawppnwtR4Y" +
            "sfLLkSqvywiolF8IRQBkRMIG0bNvekYy7hj8wnhPoOhQQxPCl9GbH5ZNW1n4WSEDHvPCX9AGrWVkX+AObKjBtYqiLAt/bxDgGoxm" +
            "WzDwgrSvmu2prX9tAfQicRjpdWc9gxaf/GXGI5QWVGbvtXbuE2T3HcFs1noVhHG/0BCunnHqLaI0UXXMNNfecS25E1iHU0OTlaHu" +
            "SUFMdcmDzMI8LGoTILHpZ0vQ8MUYDzX2DlrnR3b6+zlyN90U1wSJi2HkiBplV5H7PMzgewuzshUPCZb7zpyIsxFGtfMINS8Q59yz" +
            "UnsbrmKA7e62D5owwIDAQAB";

    // 4.服务器异步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "https://jv.mind-erp.com/pay/alipay/callback";

    // 5.页面跳转同步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问 商户可以自定义同步跳转地址
    public static String return_url = "https://www.mind-erp.com";

    // 6.请求网关地址
    public static String URL = "https://openapi.alipay.com/gateway.do";

    // 7.编码
    public static String CHARSET = "UTF-8";

    // 8.返回格式
    public static String FORMAT = "json";

    // 9.加密类型
    public static String SIGNTYPE = "RSA2";

}
